package splab.ufcg.edu.br.indexer;

public class SolrJID {
	
	
	private static SolrJID instance;
	
	private Long currentId;
	
	private SolrJID(){
		currentId = new Long(0);
		
	}
	
	public static SolrJID getInstance(){
		if (instance == null){
			instance = new SolrJID();
		}
		
		return instance;
	}
	
	public Long getCurrentId(){		
		return this.currentId++;		
	}

}
